home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 4
/
CDPD_IV.bin
/
e
/
mailinglists
/
amigae.0993sept.archive
/
000067_crash!kirk.safb.af.mil!BWILLS_Sun, 26 Sep 93 02:24:18 PST.msg
< prev
next >
Wrap
Internet Message Format
|
1994-05-26
|
7KB
Received: by bkhouse.cts.com (V1.16/Amiga)
id AA00000; Sun, 26 Sep 93 02:24:18 PST
Received: from kirk.safb.af.mil by crash.cts.com with smtp
(Smail3.1.28.1 #18) id m0ogbiw-0000fhC; Sat, 25 Sep 93 08:39 PDT
Message-Id: <m0ogbiw-0000fhC@crash.cts.com>
Date: 25 Sep 93 10:37:00 CST
From: "Barry D. Wills" <BWILLS@kirk.safb.af.mil>
To: "amigae" <amigae@bkhouse.cts.com>
Subject: Re: How Does E Stack Against Other Languages
In reply to a message from Trey:
>This message is in references to THORNTONJ@iccgcc.cs.hh.ab.com's question:
>
>|how does Amiga E stack up to other langs. like C and
>|Basic in terms of learning curve, ease of use, etc., etc.
>
>I figured out how to program in E within about a couple of months. For me, the
If you have prior experience with other languages the transition to E should be
rather easy. I began coding after one evening of reading the docs and some of
the easier examples.
>biggest trick was getting used to the polymorphic nature of the variables.. I
>kept passing the wrong variables around, guruing my computer <chuckle>.
Programming in E does require a more rudimentary knowledge of the computer, but
once I got used to E's loose typing I found that I liked it ALOT! I've always
been an advocate of string typing, but E makes loose typing powerful AND
elegant. E had proven to me that a well designed language can dispense with
all that extra strong-typing baggage and not detract from productivity and
reliability. Contrary to popular claims of strong-typing advocates, I'm coding
projects faster in E than in any other language I've tried so far.
GURUs: when you try to use the more powerful features of any programming
language your gonna crash the machine. I've crashed my Amiga more often using
C++ than with E (and I've had to wait 300 to 500 times longer to compile, link,
and crash my computer in C++! :-) I've even crashed my machine using
AmigaBASIC, imagine that!
>E's strongest feature, in my opinion, is its handling of lists. I really LOVE
>that. The polymorphic variable bit is very good, too. However, I still like
Lists, a unique and VERY powerful feature. And they will get better in the
next release!
>C++'s object oriented nature.. I LOATHE global variables, and find myself
>having to do some funky weirdnesses to work around global variables in E, where
Hm, what do you have to do?
>I have less trouble in C++. Further, I don't much care for E's handling of
>objects.. that is, you cannot have objects within objects without having to
>reference a separate variable.. eg:
>
>OBJECT fulubreath
> smile:INT;
> grin:INT;
> laugh:INT;
> make_others_suffer:fulubreath
>ENDOBJECT
>
>DEF goo:fulubreath, gah:fulubreath
>
>/* you cannot....*/
>
>goo.make_others_suffer.laugh
>
>/* you must instead */
?
>gah:=goo.make_others_suffer
>
>gah.laugh
This is a recurring complaint, something for which I've found a suitable
solution. So here it is again:
PROC laughFrom (b : PTR TO fulubreath) RETURN b.laugh
to use it:
react(laughFrom(goo.make_others_suffer))
If you do this frequently in your code, it's smoother and more readable than
dereferencing by multiple assignments.
>I find this to be rather annoying.. but given E's advances, I'm willing to put
Yes, E is advancing and we shouldn't have to put up with it forever. :)
>up with it. One other annoying thing is the lack of a modular approach to
>programming in E.. that is, you may not create separate *.e files and merge
>them together into one. While EPP sort of addresses this issue, I've
>experienced some minor problems with EPP (although, to be honest, overall, I
>like the way EPP handles things better than most compilors).
This WILL go away with the next release. E v2.5 will support modules, and in
a much better way then EPP.
>However, E is FAST. I LOVE that... I generally don't have to wait for
I believe the proper expression is "E is FA-A-A-A-A-A-A-AST!!!" :-) It is a
major fault of E that when I used C++ I always had an opportunity to go get a
sandwich or take a leak. EC doesn't give me the chance to step away! Oh well,
not all languages/compilers are perfect :-/ (joke, you may laugh :-)
>half-an-eternity for my files to compile. And it creates VERY compact code,
>with built-in stacks (so your users needn't worry about THAT nonsense), and
>several other nifties. It uses the Amiga's potential better than any other
Yes, indeedy! I'd also like to add that E is far more reliable than any other
language I've used on the Amiga. My C++ compiler came with some broken and/or
missing functions! And that thing cost me $225 at the time. I'm still pissed
about that 3 years later! And I was told that if I wanted to upgrade my
compiler I would need to buy a *complete* C package to replace the outdated one
supplied with C++ (already 2 major versions behind!), another $150-$200!
Which brings up two more issues. Even if Wouter charges "a lot" for v2.5 it
will still be much more affordable than other commercial products, and if you
have access to this mailing list (and you've proven that you do) then you
already have better support than most other Amiga programmers, including those
who buy expensive C++ compilers from well-known corporations. :-)
>language I've seen to date.. my compaints above are mere quibblings compared to
>the advantages of using E for the Amiga.
I agree. Devote a small amount of time to learning E and you won't be able to
escape the attraction, AH-HAAH-HAAH! B-D
>So.. if you want portability, and Object Oriented features, C++ is still my
E will soon rival C++ objects! And try to do exceptions in C++, Aaargh! :)
>favorite. But if you want something that'll make really EXCELLENT code for
>your Amiga, E is the language for it. I'm very much looking forward to E's
>update, as I suspect the issues I've raised are already being worked on. E's
>portability will probably always be a problem, though.. but I don't really
>care. I don't much like MS-DOS or MacIntosh anyway.. I'd rather program for my
>Amiga.
I'd like to temper my reactions here somewhat.
I do like C++. It's a pretty cool language, but it has some serious problems.
Those problems are being addressed, but at a very slow rate (because 10 billion
comittees must agree on the proposed changes, and there are politics involved.)
And some of those changes won't be improvements IMHO. E is improving rapidly,
and I haven't seen one proposed change that I dislike, not one.
And please don't take anything I said here personally, Trey. I wanted to reply
to the original message and didn't I have the time. But yours popped up in my
mailbox today and gave me some good points to focus on, and since I now have
the time...
- Trey
Take it easy, use E. LONG LIVE E PROGRAMMERS!
-- Barry